Repository navigation
Studio map: one Ignore for a loose parent folder with only subfolder rows (#790) - #798
Merged
Merged
Conversation
…rows (#790) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CVqACd5v8kQPDauf9TyDYr
18 of 21 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #790
What changed
On the map scan screen, a loose folder with no files of its own that holds two or more loose rows now gets a parent row above them, indented, at every level. It has Ignore alone (no Give to or Add), muted with the usual reason when the folder holds a part's files. A folder with a single child row gets none. The parent's count is the rows right below it (
.claude/overskills/andagents/says "2 folders").ui/map-model.ts:looseGroupsreturnsparentanddepth;ui/map-scan.tsdraws parent rows;ui/style.cssindents by--depth.server/src/map_scan.rs:ignore_folderdrops theignoredpatterns inside the folder being ignored, so Unignore of the parent brings every subfolder back. The wire shape is unchanged.docs/studio/behaviour/map.md("Ignore a loose folder"); snap fixturemapScanParent(parent Ignore, muted parent, focus on Unignore).Tests
New rows in the
looseGroupstable test, plus a depth check. The server's edit table cannot observeignored(Seenshows only ticked candidates), so the drop has its own small test,ignoring_a_parent_folder_drops_the_patterns_inside_it. No tests removed or merged.npm run checkpasses.Correctness pass
A fresh reviewer found nothing blocking. Two notes:
a/vendor/) is dropped with the rest and is not re-ticked on Unignore. This follows the brief ("anyignoredentries inside it are dropped").Outside review
skipped: no risk match
Notes
$modern-web-guidancewas not run before the UI code.$web-design-guidelineswas run on the result with no findings.🤖 Generated with Claude Code
https://claude.ai/code/session_01CVqACd5v8kQPDauf9TyDYr